import request from "@/manager/base/RequestManager";

// 获取备案信息
export function getCopyright() {
    return request.get('/setting/copyright/detail')
}

// 设置备案信息
export function setCopyright(params: any) {
    return request.post('/setting/copyright/save', params)
}

// 获取网站信息
export function getWebsite() {
    return request.get('/setting/website/detail')
}

// 设置网站信息
export function setWebsite(params: any) {
    return request.post('/setting/website/save', params)

}

// 获取政策协议
export function getProtocol() {
    return request.get('/setting.web.web_setting/getAgreement')
}

// 设置政策协议
export function setProtocol(params: any) {
    return request.post('/setting.web.web_setting/setAgreement', params)
}
